class Uniforme < ActiveRecord::Base
  belongs_to :usuario
  has_many :uniformes_vestimentas,:dependent => :destroy
  has_many :vestimentas,:through => :uniformes_vestimentas,:foreign_key=>:vestimenta_id
  accepts_nested_attributes_for :uniformes_vestimentas, :allow_destroy => true
end
